BC Announcement for DataMigration Autorest v3 to v4 Migration#29607
Open
JiaSeng-v wants to merge 2 commits into
Open
BC Announcement for DataMigration Autorest v3 to v4 Migration#29607JiaSeng-v wants to merge 2 commits into
JiaSeng-v wants to merge 2 commits into
Conversation
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
6 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
This PR adds breaking change pre-announcements for the DataMigration module ahead of the Autorest v3 to v4 migration planned for Az v16.0.0 (November 2026). It introduces preview/breaking-change banners on relevant cmdlets via the AutoRest README directives and a custom cmdlet attribute, and updates module metadata.
Changes:
- Added breaking change pre-announcement messages for Get/New/Remove/Update DataMigration cmdlets via README directives and a
PreviewMessageattribute on the customNew-AzDataMigrationToSqlManagedInstancecmdlet. - Updated module manifest (
Az.DataMigration.psd1), assembly version, solution project GUID, and module GUID/generate-id from regeneration. - Added a ChangeLog entry pointing to the breaking changes documentation.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/DataMigration/DataMigration/ChangeLog.md | Adds an "Upcoming Release" note referencing the pre-announced breaking changes. |
| src/DataMigration/DataMigration/Az.DataMigration.psd1 | Bumps Az.Accounts dependency, regenerated date/tags formatting, uncomments empty Scripts/TypesToProcess. |
| src/DataMigration/DataMigration.sln | Updates project GUID for the regenerated Az.DataMigration project. |
| src/DataMigration/DataMigration.Autorest/generate-info.json | Updates generate_Id from regeneration. |
| src/DataMigration/DataMigration.Autorest/docs/Az.DataMigration.md | Updates module GUID from regeneration. |
| src/DataMigration/DataMigration.Autorest/custom/Cmdlets/New-AzDataMigrationToSqlManagedInstance.ps1 | Adds PreviewMessage attribute with breaking change banner. |
| src/DataMigration/DataMigration.Autorest/README.md | Adds AutoRest directives to attach breaking change preview messages to Get/New/Remove/Update cmdlets. |
| src/DataMigration/DataMigration.Autorest/Properties/AssemblyInfo.cs | Bumps assembly version to 1.0.0. |
Comments suppressed due to low confidence (4)
src/DataMigration/DataMigration.Autorest/README.md:1
- The same long preview-message string is duplicated across four directives. Additionally, the top/bottom asterisk borders have different lengths than the interior lines, producing a ragged banner when displayed. Consider extracting the message into a YAML anchor/alias (e.g.,
&breakingChangeMessage/*breakingChangeMessage) to avoid duplication and ensure consistency, and equalize the asterisk widths so the framed banner renders cleanly.
<!-- region Generated -->
src/DataMigration/DataMigration.Autorest/README.md:1
- The same long preview-message string is duplicated across four directives. Additionally, the top/bottom asterisk borders have different lengths than the interior lines, producing a ragged banner when displayed. Consider extracting the message into a YAML anchor/alias (e.g.,
&breakingChangeMessage/*breakingChangeMessage) to avoid duplication and ensure consistency, and equalize the asterisk widths so the framed banner renders cleanly.
<!-- region Generated -->
src/DataMigration/DataMigration.Autorest/README.md:1
- The same long preview-message string is duplicated across four directives. Additionally, the top/bottom asterisk borders have different lengths than the interior lines, producing a ragged banner when displayed. Consider extracting the message into a YAML anchor/alias (e.g.,
&breakingChangeMessage/*breakingChangeMessage) to avoid duplication and ensure consistency, and equalize the asterisk widths so the framed banner renders cleanly.
<!-- region Generated -->
src/DataMigration/DataMigration.Autorest/README.md:1
- The same long preview-message string is duplicated across four directives. Additionally, the top/bottom asterisk borders have different lengths than the interior lines, producing a ragged banner when displayed. Consider extracting the message into a YAML anchor/alias (e.g.,
&breakingChangeMessage/*breakingChangeMessage) to avoid duplication and ensure consistency, and equalize the asterisk widths so the framed banner renders cleanly.
<!-- region Generated -->
| [Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Description('Create a new database migration to a given SQL Managed Instance.')] | ||
| [Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Runtime.PreviewMessage( | ||
| "**********************************************************************************************`n | ||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on November 2026. *`n |
| - Additional information about change #1 | ||
| --> | ||
| ## Upcoming Release | ||
| * Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229 |
Comment on lines
+25
to
+26
| "**********************************************************************************************`n | ||
| * This cmdlet will undergo a breaking change in Az v16.0.0, to be released on November 2026. *`n |
Pan-Qi
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.